CREATE TABLE [dbo].[NCF]
(
[ID] [numeric] (10, 0) NOT NULL,
[NCF] [varchar] (11) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[DESCRIPCION] [varchar] (80) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[TIPO_NCF] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ID_CONDICION] [numeric] (10, 0) NOT NULL,
[DESDE] [numeric] (10, 0) NOT NULL CONSTRAINT [DF_NCF_DESDE] DEFAULT ((0)),
[HASTA] [numeric] (10, 0) NOT NULL CONSTRAINT [DF_NCF_HASTA] DEFAULT ((0)),
[VALUE] [numeric] (10, 0) NOT NULL CONSTRAINT [DF_NCF_VALUE] DEFAULT ((0)),
[RNC_REQUERIDO] [bit] NOT NULL,
[ACTIVO] [bit] NOT NULL CONSTRAINT [DF_NCF_ACTIVO] DEFAULT ((1)),
[IMPUESTOS] [bit] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[NCF] ADD CONSTRAINT [PK_NCF] PRIMARY KEY CLUSTERED  ([ID]) ON [PRIMARY]
GO
